package com.norteksoft.erm.model;

/**
 * 全局配置参数
 * 
 * @hibernate.class table="ERM_PARACONF"
 */
public class ParaConf extends BaseObject {

	private static final long serialVersionUID = -1045277676043628495L;

	private Long pcID = new Long(-1);// OID

	private String name;// 配置参数名

	private String val;// 配置参数值

	public ParaConf() {
	}

	/**
	 * @hibernate.id generator-class="sequence" column="PCID" unsaved-value="-1"
	 *               type="long"
	 * @hibernate.generator-param name="sequence" value="ERM_SEQUENCE"
	 */

	public Long getPcID() {
		return pcID;
	}

	public void setPcID(Long pcID) {
		this.pcID = pcID;
	}

	/**
	 * @hibernate.property column="NAME" length="255" type="string"
	 *                     unique="true" not-null="true"
	 * @return String
	 */
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @hibernate.property column="VAL" length="255" type="string"
	 * @return String
	 */
	public String getVal() {
		return val;
	}

	public void setVal(String val) {
		this.val = val;
	}
}
